package com.online.college.core.pay.domain;

import com.online.college.common.orm.BaseEntity;

import java.sql.Date;

/**
 * 支付日志表
 */
public class PayLog extends BaseEntity {

	private static final long serialVersionUID = 94044226250229411L;

	/**
	 * 系统定单号
	 **/
	private String payOrderNo;

    /**
     * 支付总金额
     **/
    private Double totalAmount;

	/**
	 * 创建时间
	 **/
	private Date createTime;

    /**
     * 支付类型
     */
    private String payType;
    /**
     * 第三方返回的原始字符串
     */
    private String originalString;

    /**
     * 支付状态 0 待支付  1 支付失败 2支付成功
     */
    private String payStatus;

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getOriginalString() {
        return originalString;
    }

    public void setOriginalString(String originalString) {
        this.originalString = originalString;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }
}

